package com.boot.mgt.dao.mysql

import com.boot.mgt.model.TaOndutyAccident
import com.boot.mgt.model.vo.TaOndutyAccidentVo
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository
import tk.mybatis.mapper.common.Mapper
import java.util.*

/**
 * @author kawins
 * createTime 2018-12-10 23:31
 */
@Repository
interface TaOndutyAccidentMapper : Mapper<TaOndutyAccident> {
    fun selectAllWithPolice(@Param("policeNumber") police_number: String?,
                            @Param("startTime") start_time: String?,
                            @Param("endTime") end_time: String?,
                            @Param("orgNum") orgNum: String): List<TaOndutyAccidentVo>
}